﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DishAdd.aspx.cs" Inherits="Business_Booking_DishAdd" Theme="normal"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload" TagPrefix="Upload" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>菜式新增页</title>
   <link href="../../../css/MessageTable.css" rel="stylesheet" type="text/css" /> 
</head>
<body style="background-color:#fcf6ec">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="Scriptmanager1" runat="server" EnableScriptGlobalization="true"
            EnableScriptLocalization="true">
    </asp:ScriptManager>
    <div>
            <%--<table width="100%" border="0" cellpadding="0" cellspacing="0" class="toptable">
                <tr>
                    <td class="sysmain_navi" style="padding-left: 14px; width:57%; height:30px;" >
                        新增菜式</td>
                    <td class="topnavichar" style="padding-left: 14px; width:43%;">
                    </td>
                </tr>
            </table>--%>
            <div class="normalnav">
                <div class="normalcontent">
                    <span style="color: #ffffff">套餐服务>>>套餐信息管理>>></span><span style="color: #f6ff00">新增菜式</span></div>
            </div>
            <table border="2"  cellpadding="5" cellspacing="1" bordercolor="#edc789"
                style="width:700px; text-align:center; background-color:#ffffff;border-collapse:collapse; margin-left:10px; top:40px; position:absolute;">
                
                <tr>
                    <td align="right" style="width: 146px">
                        <span style="color: Red;">*</span>菜式名称：</td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <asp:TextBox ID="tb_DishName" runat="server" Width="200px" MaxLength="30"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequirestyleLabelClassName" runat="server" ControlToValidate="tb_DishName"
                            Display="Dynamic" ErrorMessage="<span class=reshow>(*)请填写菜式名称</span>"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <!--间隔校验结果-->
                <tr>
                    <td align="right" style="width: 146px">
                    </td>
                    <td style="width:80%; text-align:left;" colspan="3">
                    </td>
                </tr>
                
                
                <tr>
                    <td align="right" style="width: 146px">
                        <span style="color: Red;">*</span>菜式代码：</td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <asp:TextBox ID="tb_DishCode" runat="server" Width="200px" MaxLength="30"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_DishCode"
                            Display="Dynamic" ErrorMessage="<span class=reshow>(*)请填写包厢代码</span>"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <!--间隔校验结果-->
                <tr>
                    <td align="right" style="width: 146px">
                    </td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <span class="reshow">
                            <asp:Label ID="lblProductsCode" runat="server"></asp:Label></span>
                    </td>
                </tr>
                
                <%--<tr>
                    <td align="right" style="width: 146px; height:180px;">
                        <span style="color: Red;">*</span>菜式图片：</td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <asp:Image ID="Image1" runat="server" Width="150px" Height="150px" ImageUrl="~/Images/Booking/nopic.jpg" BorderWidth="1px"/>
                        <br />
                        <Upload:InputFile ID="InputFile1" runat="server" />
                        <Upload:ProgressBar ID="ProgressBar1" runat='server'></Upload:ProgressBar>
                        <asp:LinkButton ID="lbtn_UploadImage" runat="server" OnClick="lbtn_UploadImage_Click"
                             CausesValidation="false">上传图片</asp:LinkButton>
                    </td>
                </tr>--%>
                <!--间隔校验结果-->
                <tr>
                    <td align="right" style="width: 146px">
                    </td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <span class="reshow">
                            <asp:Label ID="Label4" runat="server"></asp:Label></span>
                    </td>
                </tr>
                
                <tr>
                    <td align="right" style="width: 146px">
                        <span style="color: Red;">*</span>菜式价格：</td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <asp:TextBox ID="tb_DishPrice" runat="server" Width="200px" MaxLength="30"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="tb_DishPrice" Display="Dynamic" 
                            ErrorMessage="<span class=reshow>(*)请填写菜式价格</span>"> 
                        </asp:RequiredFieldValidator>
                        <ajaxToolkit:MaskedEditExtender ID="price_textbox_masker" runat="server"
                             TargetControlID="tb_DishPrice" Mask="99,999.99" MaskType="Number"
                             InputDirection="RightToLeft" AcceptNegative="Left" DisplayMoney="Left">
                        </ajaxToolkit:MaskedEditExtender>
                    </td>
                </tr>
                <!--间隔校验结果-->
                <tr>
                    <td align="right" style="width: 146px">
                    </td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <span class="reshow">
                            <asp:Label ID="lblProductsName" runat="server"></asp:Label></span>
                    </td>
                </tr>
                
                <tr>
                    <td align="right" style="width: 146px">
                        <span style="color: Red;">*</span>备注：</td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <asp:TextBox ID="tb_DishRemark" runat="server" Width="200px" MaxLength="30"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="tb_DishRemark" Display="Dynamic" 
                            ErrorMessage="<span class=reshow>(*)请填写备注</span>">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr>
                <!--间隔校验结果-->
                <tr>
                    <td align="right" style="width: 146px">
                    </td>
                    <td style="width:80%; text-align:left;" colspan="3">
                        <span class="reshow">
                            <asp:Label ID="Label1" runat="server"></asp:Label></span>
                    </td>
                </tr>
                
                <tr>
                    <td align="left" class="navi_link" colspan="4">
                        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="../../../Images/Basic/tianjia.gif"
                            ToolTip="新增" OnClick="btnSave_Click" />新增
                        <asp:ImageButton ID="butrReset" runat="server" ImageUrl="../../../Images/Basic/fanhui.gif"
                            CausesValidation="False" ToolTip="返回" OnClick="butrReset_Click" />返回
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
